package java56_5;

import java.util.Scanner;

public class DaoSanjiao {

	public static void main(String[] args) {
		// 倒三角
		Scanner sc = new Scanner(System.in);
		int h = sc.nextInt();// Gaodu
		for (int i = h; i >= 1; i--) {
			for (int j = 1; j <= i; j++) {
				System.out.print("%");
			}
			System.out.println();
		}
	}

}
